package com.reverse.engineering.util.core.run.bean.java;

import com.reverse.engineering.util.core.run.constant.Constant;
import com.reverse.engineering.util.core.run.enums.FieldEquals;

public class FileFeild {

    /**字段注释*/
    private String fieldComment;
    /**字段名首字母大写*/
    private String fieldNameD;
    /**字段名首字母小写*/
    private String fieldNameX;
    /**字段数据库类型*/
    private String fieldDatabaseType;
    /**字段Java类型*/
    private String fieldJavaType;
    /**字段Xml类型*/
    private String fieldXmlType;
    /**字段Xml参数和返回值类型*/
    private String fieldXmlParamType;

    /**字段名*/
    private String fieldNameDatabase;
    /**字段名大写*/
    private String fieldNameDatabaseD;
    /**字段长度*/
    private Integer fieldLength;
    /**字段属性*/
    private String[] fieldProperty;
    /**外键表*/
    private String referencesTable;
    /**外键字段*/
    private String referencesField;
    /**外键注释*/
    private String referencesComment;
    /**操作: create:创建表的时候一起创建,insert:插入一个字段,remove:删除一个字段,update:更新一个字段*/
    private String operation = Constant.CREATE;
    /***/
    public FieldEquals fieldEquals;

    public String getFieldComment() {
        return fieldComment;
    }

    public void setFieldComment(String fieldComment) {
        this.fieldComment = fieldComment;
    }

    public String getFieldNameD() {
        return fieldNameD;
    }

    public void setFieldNameD(String fieldNameD) {
        this.fieldNameD = fieldNameD;
    }

    public String getFieldNameX() {
        return fieldNameX;
    }

    public void setFieldNameX(String fieldNameX) {
        this.fieldNameX = fieldNameX;
    }

    public String getFieldDatabaseType() {
        return fieldDatabaseType;
    }

    public void setFieldDatabaseType(String fieldDatabaseType) {
        this.fieldDatabaseType = fieldDatabaseType;
    }

    public String getFieldJavaType() {
        return fieldJavaType;
    }

    public void setFieldJavaType(String fieldJavaType) {
        this.fieldJavaType = fieldJavaType;
    }

    public String getFieldXmlType() {
        return fieldXmlType;
    }

    public void setFieldXmlType(String fieldXmlType) {
        this.fieldXmlType = fieldXmlType;
    }

    public String getFieldXmlParamType() {
        return fieldXmlParamType;
    }

    public void setFieldXmlParamType(String fieldXmlParamType) {
        this.fieldXmlParamType = fieldXmlParamType;
    }

    public String getFieldNameDatabase() {
        return fieldNameDatabase;
    }

    public void setFieldNameDatabase(String fieldNameDatabase) {
        this.fieldNameDatabase = fieldNameDatabase;
    }

    public String getFieldNameDatabaseD() {
        return fieldNameDatabaseD;
    }

    public void setFieldNameDatabaseD(String fieldNameDatabaseD) {
        this.fieldNameDatabaseD = fieldNameDatabaseD;
    }

    public Integer getFieldLength() {
        return fieldLength;
    }

    public void setFieldLength(Integer fieldLength) {
        this.fieldLength = fieldLength;
    }

    public String[] getFieldProperty() {
        return fieldProperty;
    }

    public void setFieldProperty(String[] fieldProperty) {
        this.fieldProperty = fieldProperty;
    }

    public String getReferencesTable() {
        return referencesTable;
    }

    public void setReferencesTable(String referencesTable) {
        this.referencesTable = referencesTable;
    }

    public String getReferencesField() {
        return referencesField;
    }

    public void setReferencesField(String referencesField) {
        this.referencesField = referencesField;
    }

    public String getReferencesComment() {
        return referencesComment;
    }

    public void setReferencesComment(String referencesComment) {
        this.referencesComment = referencesComment;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public FieldEquals getFieldEquals() {
        return fieldEquals;
    }

    public void setFieldEquals(FieldEquals fieldEquals) {
        this.fieldEquals = fieldEquals;
    }

}